package com.zzyl.nursing.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @version: 1.0
 * @Author: ljy
 * @description:
 * @date: 2025-07-31 20:54
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reservation extends BaseEntity {

    private Long id;//预约id
    private String name;//预约人
    private String mobile;//手机号
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;//预约时间
    private String visitor;//家属
    private Integer type;//预约类型
    private Integer status = 0;//预约状态
}
